xen/arm: psci: Rework the PSCI definitions
authorJulien Grall <julien.grall@arm.com>
Fri, 23 Feb 2018 18:57:12 +0000 (18:57 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 26 Feb 2018 22:59:09 +0000 (14:59 -0800)
commitf30b93b42b7137654a69676a61620f763c4ad3b3
tree6e0e23655137839a574c81a34c962dd7523454a8
parent9683360c574dff909d728cf55a1ed310a8bc60bb
xen/arm: psci: Rework the PSCI definitions

Some PSCI functions are only available in the 32-bit version. After
recent changes, Xen always needs to know whether the call was made using
32-bit id or 64-bit id. So we don't emulate reserved one.

With the current naming scheme, it is not easy to know which call
supports 32-bit and 64-bit id. So rework the definitions to encode the
version in the name. From now the functions will be named PSCI_0_2_FNxx
where xx is 32 or 64.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Volodymyr Babchuk <volodymyr.babchuk@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/platforms/seattle.c
xen/arch/arm/psci.c
xen/arch/arm/vpsci.c
xen/include/asm-arm/psci.h